package com.example.springbootvuetest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author shuoye
 * @since 2023-03-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sh_order_address")
public class OrderAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 订单id
     */
    @ApiModelProperty("订单id")
    private Integer orderId;

    /**
     * 收件人姓名
     */
    @ApiModelProperty("收件人姓名")
    private String consigneeName;

    /**
     * 收件人电话
     */
    @ApiModelProperty("收件人电话")
    private String consigneePhone;

    /**
     * 详细地址
     */
    @ApiModelProperty("详细地址")
    private String detailAddress;


}
